import request from '@/utils/request';

export function apiMissionAdd(data) {
  return request({
    url: '/admin/mission/add',
    method: 'post',
    data
  });
}

export function apiMissionEdit(data) {
  return request({
    url: '/admin/mission/edit',
    method: 'post',
    data
  });
}

export function apiMissionList(data) {
  return request({
    url: '/admin/mission/list',
    method: 'post',
    data
  });
}

export function apiMissionDel(data) {
  return request({
    url: '/admin/mission/delete',
    method: 'post',
    data
  });
}

export function apiMissionInfo(data) {
  return request({
    url: '/admin/mission/info',
    method: 'get',
    data
  });
}
